package io.geekidea.springbootplus.system.service;

import io.geekidea.springbootplus.framework.common.service.BaseService;
import io.geekidea.springbootplus.framework.core.pagination.Paging;
import io.geekidea.springbootplus.system.entity.SysShare;
import io.geekidea.springbootplus.system.param.SysShare.SysSharePageParam;
import io.geekidea.springbootplus.system.vo.SysShareQueryVo;

import java.util.List;

public interface SysShareService extends BaseService<SysShare> {
    //分享的信息插入分享表中
    boolean addSysShare(SysShare sysShare) throws Exception;

    //查询分享表中的数据
    List<SysShareQueryVo> getSysShare() throws Exception;

    //分页
    Paging<SysShareQueryVo> getSysSharePageList(SysSharePageParam sysSharePageParam) throws Exception;
}
